package com.asset.dispoal.business.bsCase.domain.db.entity;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import tech.mhuang.pacebox.springboot.core.entity.BaseEntity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 案件调解表实体类
 *
 * @author: zyl
 * @date: 2021-06-10 15:14:11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BsCaseMediation extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    private String id;
    /**
     * 案件id
     */
    private String caseId;
    /**
     * 预还款时间
     */
    private Date prepaymentTime;

    /**
     * 已还款时间
     */
    private Date repaymentTime;

    /**
     * 预还本金
     */
    @ApiModelProperty(value = "预还本金")
    private BigDecimal prepaymentPrincipal;
    /**
     * 预还利息
     */
    @ApiModelProperty(value = "预还利息")
    private BigDecimal prepaymentInterest;
    /**
     * 预还罚息
     */
    @ApiModelProperty(value = "预还罚息")
    private BigDecimal prepaymentPenalty;

    /**
     * 已还本金
     */
    @ApiModelProperty(value = "已还本金")
    private BigDecimal repaymentPrincipal;
    /**
     * 已还利息
     */
    @ApiModelProperty(value = "已还利息")
    private BigDecimal repaymentInterest;
    /**
     * 已还罚息
     */
    @ApiModelProperty(value = "已还罚息")
    private BigDecimal repaymentPenalty;

    /**
     * 本次还款期数
     */
    @ApiModelProperty(value = "本次还款期数")
    private BigDecimal period;
    /**
     * 是否还清
     */
    private String isPay;
    /**
     * 创建人
     */
    private String createUser;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 操作人
     */
    private String operateUser;
    /**
     * 操作时间
     */
    private Date operateTime;
}